﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ContentPlaceHolderID="PageTitle" runat="server">个人中心</asp:Content>
<asp:Content ContentPlaceHolderID="ViewTitle" runat="server">个人中心</asp:Content>
<asp:Content ContentPlaceHolderID="StyleContent" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="ViewContent" runat="server">
    <div class="center-block" style="width: 80%;">
        <h4>姓名: <%:ViewBag.UserName %></h4>
        <br />
        <p>工作统计(<%:DateTime.Now.Year %>年):</p>
        <hr style="margin-top: 5px; margin-bottom: 5px;" />
        <p>工作天数: <%:ViewBag.DoWorkDays %> / <%:ViewBag.WorkDays %> (天) </p>
        <p>工时: <%:ViewBag.SumWorkTimes %> / <%:ViewBag.WorkTimes %> (时)</p>
        <br />
        <p>其中:</p>
        <hr style="margin-top: 5px; margin-bottom: 5px;" />
        <p>现场支持: <%:ViewBag.WorksiteDays %> (天)</p>
        <p>加班: <%:ViewBag.OvertimeDays %> (天)</p>
        <p>调休: <%:ViewBag.DaysOff %> (天)</p>
        <p>请假: <%:ViewBag.LeaveDays %> (天)</p>
        <br />
        <p>日志:</p>
        <hr style="margin-top: 5px; margin-bottom: 5px;" />
        <p>未写日志数: <a href="<%:Url.Action("Edit","Note") %>"><%:ViewBag.LackOf %></a> (天)</p>
    </div>
</asp:Content>
<asp:Content ContentPlaceHolderID="ViewFooter" runat="server">
    <div class="text-left">
        <a href='<%:Url.Action("ChangePassword","Account") %>'>更改密码</a>
    </div>
</asp:Content>
<asp:Content ContentPlaceHolderID="ScriptContent" runat="server"></asp:Content>
